* {
    padding: 0;
    margin: 0;
}

.header {
    width: 100%;
    height: 124px;

    .headerbg {
        width: 1180px;
        height: 124px;
        align-items: center;
        display: flex;
        margin: 0 auto;
    }
}

.nav {
    height: 50px;
    width: 100%;
    background: #ff9ab4;
}

.main {
    width: 1180px;
    margin: 0 auto 70px;

    .library {
        width: 1180px;
        // display: flex;

        .filtrate {
            width: 1180px;
            padding: 19px 0 0 30px;
            background: #fafafa;
            box-sizing: border-box;

            .filtrateRect {
                list-style: none;
                width: 100%;
                height: auto;
                margin-bottom: 12px;

                .item {
                    width: 978px;
                    min-height: 38px;
                    position: relative;
                    // display: flex;

                    .classify {
                        display: block;
                        width: 80px;
                        height: 100%;
                        font-size: 16px;
                        color: #3c3c48;
                        line-height: 38px;
                        float: left;
                    }

                    .body {
                        .a {
                            display: inline-block;
                            height: 22px;
                            font-size: 14px;
                            color: #666;
                            padding: 0 10px;
                            margin: 8px 0;
                            cursor: pointer;
                            line-height: 22px;
                            text-decoration: none;
                            box-sizing: border-box;
                            flex-wrap: wrap;
                        }
                    }
                }
            }
        }
    }
}

.msg {
    margin: 0;
    padding: 0;
    padding-bottom: 15px;
    font-size: 14px;
    color: #707070;
    box-sizing: border-box;
}

.on {
    border: 1px solid #ff9ab4;
    color: #ff9ab4 !important;
    border-radius: 10px;
}

.hide {
    display: none !important;
}

.foor {
    display: inline-block;
    height: 22px;
    font-size: 14px;
    padding: 0 10px;
    margin: 8px 0;
    cursor: pointer;
    line-height: 22px;
    text-decoration: none;
    box-sizing: border-box;
    position: absolute;
    right: -88px;
    color: #e66586;

    &::after {
        left: 100%;
        top: 0;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(136, 183, 213, 0);
        border-bottom-color: #e66586;
        border-width: 6px;
        margin-left: 0;
    }
}

// 修改展开和隐藏
.content {
    width: 865px;

    .ranklist {
        width: 879px;
        padding: 0;
        margin-top: 7px;
        margin-left: 20px;
        background: #fff;
        list-style: none;

        .rankitem {
            margin-bottom: 26px;
            overflow: hidden;
            display: flex;

            .leftimg {
                width: 142px;
                height: 190px;
                display: block;
                box-shadow: 0 0 6px #999;
                position: relative;

                img {
                    width: 100%;
                    height: 100%;
                    opacity: 1;
                    transition: all .3s ease-out;

                    &:hover {
                        transform: scale(1.05);
                    }
                }

            }

            .rightrank {
                margin-left: 20px;
                width: 716px;
                padding: 14px 0;

                .alltop {
                    &:hover {
                        cursor: pointer;
                    }

                    .title {
                        display: flex;
                        justify-content: space-between;

                        h4 {
                            color: #3c3c48;
                            font-size: 18px;

                            em {
                                font-size: 12px;
                                color: #7cb9ff;
                                font-style: normal;
                                margin-left: 6px;
                            }
                        }

                        .titleright {
                            color: #7cb9ff;
                            font-weight: 700;

                            b {
                                font-size: 20px;
                                margin-right: 4px;
                                font-weight: 500;
                            }
                        }
                    }

                    .author {
                        margin: 8px 0;
                        color: #757580;

                        .cover {
                            display: inline-block;
                            width: 14px;
                            height: 14px;
                            position: relative;
                            top: 2px;
                            background: url(https://c.hotread.com/girlPc/assets/images/cover.png);
                            background-size: cover;
                            margin-right: 4px
                        }

                        span {
                            color: #757580;
                        }
                    }

                    p {
                        font-size: 14px;
                        color: #757580;
                        line-height: 22px;
                        min-height: 60px;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 3;
                        overflow: hidden;
                        margin-top: 14px;
                        margin-bottom: 14px;
                    }
                }

                .tag {
                    margin-top: 16px;

                    span {
                        border: 1px solid #e1e1e1;
                        display: inline-block;
                        padding: 0 8px;
                        font-style: normal;
                        border-radius: 4px;
                        cursor: pointer;
                        margin-right: 6px;
                        color: #666;
                        font-size: 14px;
                        box-sizing: border-box;

                        &:hover {
                            cursor: pointer;
                            color: #e66586;
                        }
                    }
                }
            }
        }
    }
}

.all {
    display: flex;
    justify-content: space-between;
}

.rightrank {
    width: 270px;

    .ranking {
        padding-top: 20px;
        width: 100%;
        height: auto;
        box-sizing: border-box;

        .title {
            margin: 0;
            padding: 0;
            height: 50px;
            width: 100%;
            font-size: 18px;
            font-weight: 600;
            color: #333;
            line-height: 41px;
            box-sizing: border-box;
        }

        .rlist {
            height: 342px;
            padding: 4px;
            position: relative;
            width: 100%;
            border: 1px solid #e6e5e5;
            box-sizing: border-box;
            list-style: none;
            .listitem{
                border-bottom: 1px solid rgb(230, 229, 229);
                padding: 0;
                min-height: 38px;
                margin: 8px 0;
                cursor: pointer;
                width: 100%;
                box-sizing: border-box;
            }
        }
    }
}

.rectbg {
    width: 100%;
    height: 100%;
    display: flex;

    .bookName {
        width: 124px;
        display: inline-block;
        font-size: 14px;
        line-height: 36px;
        font-weight: 400;
        color: #333;
        height: 36px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .author {
        width: 90px;
        height: 38px;
        line-height: 38px;
        font-size: 14px;
        text-align: right;
        color: #999;
        display: inline-block;
        padding-right: 10px;
        box-sizing: border-box;
    }
}
.rectbg2{
    display: none;
    // display: flex;
    padding-top: 0;
    background-color: #f1f1f5;
    align-items: center;
    .numbg{
        color: #e66586;
        height: 59px;
        font-size: 18px;
        font-style: normal;
        display: block;
        float: left;
        width: 46px;
        text-align: center;
        line-height: 36px;
    }
    .desc{
        width: 156px;
        height: 90px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        .bookNamebg{
            float: left;
            width: 88px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            height: 14px;
            line-height: 14px;
            font-size: 14px;
            color: #333;
            font-weight: 600;
        }
        .authorbg{
            width: auto;
            text-align: left;
            height: 28px;
            line-height: 28px;
            font-size: 12px;
            color: #666;
            float: left;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            i{
                font-style: normal;
                display: inline;
            }
        }
    }
    img{
        width: 52px;
        height: 70px;
        display: block;
        margin-right: 0;
    }
}
.more{
    height: 41px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #f8f7f7;
    cursor: pointer;
    a{
        height: 41px;
        position: relative;
        display: block;
        text-align: center;
        line-height: 46px;
        color: #999;
        text-decoration: none;
        &::after{
            content: '';
            margin-left: 5px;
            display: inline-block;
            vertical-align: baseline;
            width: 6px;
            height: 10px;
            background: url()no-repeat 50% / 6px 10px;
            box-sizing: border-box;
        }
    }
}

.num {
    color: #e66586;
    font-style: normal;
    display: block;
    float: left;
    width: 46px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 14px;
}
.page{
    text-align: center;
    display: block;
    margin: 20px 0;
    overflow: hidden;
    font-size: 0;
}